import * as API from './index'

export const Login = (params)=>{
    return API.POST('/api/v1/auth/login',params)
}

export const Register=(params)=>{
    return API.POST('/api/v1/auth/reg',params )
}

export const UserInfo = (params)=>{
    return API.GET('/api/v1/users/info')
}